package java19_4_24.com.huweiong.thread_safe.locks_demo;

/**
 * @author 是阿秋啊
 * @date 2022/04/24 21:39
 **/
public class A {
    public A() {
        System.out.println("A");
    }
    public A(int n) {
        System.out.println("A" + n);
    }
}
class B extends A{


    public static void main(String[] args) {
        A a = new B();
    }
}
